Help > Reference > Macros > Tab object > Search method

Search method

Call this method to execute a search against the current index.

Member of

Tab

Type

Sub(Query, QueryType)

Parameters

The example below will prompt the user to select an index and then execute a search that will return all the documents, found in the index.

Example

IndexPath = BrowseForFolder
If IndexPath <> "" Then
  App.ActiveTab.OpenIndex IndexPath
  App.ActiveTab.Search "*"
End If

See Also

Macro Object Model

Tab